<template>
    <el-container>
      <Asider></Asider>
      <el-container class="direct-column">
        <Header></Header>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
</template>

<script>
import Header from "@/components/Header.vue";
import Asider from "@/components/Asider.vue";
export default {
  name: "Main",
  components: {
    Header,
    Asider,
  },
  data() {
    return {
    };
  },
};
</script>

<style lang="less" scoped>
.el-container {
  height: 100%;
  margin-bottom: 10px;
}
.el-main {
  background-color: #fff;
  color: #333;
  padding: 0;
  margin: 10px;
  box-shadow: 0 2px 12px 0 rgba(65, 37, 37, 0.1);
  border-radius: 4px;
  border: 1px solid #ebeef5;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.el-header {
  background-color: #fff;
  color: #333;
  font-size: 18px;
  line-height: 60px;
  border-bottom: 1px solid #e9e9e9;
}

.el-aside {
  background-color: rgb(34, 40, 50);
  color: #fff;
  text-align: center;
}

.el-menu-vertical-demo:not(.el-menu--collapse) {
  min-height: 100%;
}
</style>
